extends "../../azurlane_ctrl/AzurItem.gd"
func init():
	.init()
	name = "[稀有]幸运舰的“惩罚”"
	info = "佩戴者造成的所有伤害均无法暴击，但提高30%伤害\n[color=#DC143C]同时装备两件时可升级[/color]"
	price = 300
	att.cd = 0.3
	att.suck = 0.15
	att.penL = 0.15

func _connect():
	._connect()
	masCha.connect("onAtkInfo", self, "onAtkInfo")

func onAtkInfo(atkInfo):
	atkInfo.factor += 0.3
	atkInfo.canCri = false

func upgrade():
	name = "[color=#FFFF00][史诗]幸运舰的“惩罚”"
	info = "佩戴者造成的所有伤害均无法暴击，但提高30%伤害"
	att.cd = 0.6
	att.suck = 0.3
	att.penL = 0.3


